package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.PT;
import com.itheima.pojo.Psychoanalysis;

import java.text.ParseException;
import java.util.List;

/**
 * 心理测评
 */
public interface PsychoanalysisService {

    PageResult findPage(int pageNum, int pageSize, String queryString);

    List<PT> findAll();

    void delete(int id);

    void add(Psychoanalysis psychoanalysis) throws ParseException;

    void update(Psychoanalysis psychoanalysis);

    PT findById(Integer id);
}
